how to use trim command